﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Log.List" %>


<%=_framePage.GetPagerFormHtml("Basics/Log/List.aspx")%>


<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return navTabSearch(this);" action="/SystemManage/Basics/Log/List.aspx">
    
<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>账号&nbsp;</span>
				<asp:TextBox ID="tb_search_account" runat="server"></asp:TextBox>&nbsp;&nbsp;
			</li>
			<li>
			    <span>操作时间&nbsp;</span>
				<asp:TextBox ID="tb_search_datebegin" runat="server" class="date" format="yyyy-MM-dd" readonly="true" cond="datebegin" ctltype="textbox" ></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至
			</li>
            <li>
             <asp:TextBox ID="tb_search_dateend" class="date" format="yyyy-MM-dd" readonly="true" runat="server" cond="dateend" ctltype="textbox"></asp:TextBox>&nbsp;
            </li>
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;查&nbsp;询&nbsp;</button></div></div>
			</li>
              <li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.exportFile(this);" 
			    target="dwzExport" rel="exportexcel" title="导出EXCEL"><span>导出EXCEL</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
            <li><a class="delete" href="/SystemManage/Basics/Log/Delete.aspx?ajax=dels" target="selectedTodo"title="请确定要删除"><span>删除勾选</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="5%" style="display: none">编号</th>
				<th width="20%">时间</th>
				<th width="8%">线程ID</th>
				<th width="8%">等级</th>
				<th width="14%">Logger</th>
				<th width="35%">消息</th>
				<th width="10%">管理</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="gridLog">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td style="display: none"><%# Eval("Id")%></td>
				    <td><%# Eval("Date")%></td>
				    <td><%# Eval("Thread")%></td>
				    <td><%# Eval("Level")%></td>
				    <td><%# Eval("Logger")%></td>
				    <td><%# Eval("Message")%></td>
				    <td> 
				        <a href="/SystemManage/Basics/Log/View.aspx?uid=<%# Eval("Id")%>" target="navTab" title="日志-查看" rel="editoperator">查看</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Basics/Log/Delete.aspx?uid=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除" warn="请选择一项">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
</div>
	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>